#!/bin/bash
read -p "Please Input The Vhost Name:" vhost
if [ ! -n "$vhost" ]; then
    echo "Please Input The Vhost Name"
    exit 0
else
    docker ps -a | grep "$vhost-apache-php" | awk '{print $1}' | xargs docker restart
fi